cmake_minimum_required(VERSION 3.0)
project (zlog C)

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)

add_library(zlog SHARED
	src/buf.c
	src/category.c
	src/category_table.c
	src/conf.c
	src/event.c
	src/format.c
	src/level.c
	src/level_list.c
	src/mdc.c
	src/record.c
	src/record_table.c
	src/rotater.c
	src/rule.c
	src/spec.c
	src/thread.c
	src/zc_arraylist.c
	src/zc_hashtable.c
	src/zc_profile.c
	src/zc_util.c
	src/zlog.c
)
